package be.ipl.finito.daoimpl;

import javax.ejb.Stateless;

import be.ipl.finito.dao.JetonDao;
import be.ipl.finito.domaine.Jeton;

@SuppressWarnings("serial")
@Stateless
public class JetonDaoImpl extends DaoImpl<Integer, Jeton> implements JetonDao {

	@Override
	public Jeton enregistrerJeton(int valeur, int indiceTirage) {
		Jeton j = new Jeton(valeur, indiceTirage);
		return this.enregistrer(j);
	}

}
